﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XTeam.Document.Entities
{
    /// <summary>
    /// 评论回复实体
    /// </summary>
    public class CommentEntity
    {
        /// <summary>
        /// 关联的文章ID
        /// </summary>
        public int ArticleId
        {
            get;
            set;
        }

        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId
        {
            get;
            set;
        }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content
        {
            get;
            set;
        }

        /// <summary>
        /// 有效性
        /// </summary>
        public bool IsValid
        {
            get;
            set;
        }

        /// <summary>
        /// 状态
        /// </summary>
        public int Flag
        {
            get;
            set;
        }

        /// <summary>
        /// 加入时间
        /// </summary>
        public DateTime AddDate
        {
            get;
            set;
        }
        /// <summary>
        /// 主键ID
        /// </summary>
        public int CommentId { get; set; }
    }
}
